package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;

	public class EliteFBUI extends BaseUI
	{
		
		//单例
		public var wipeout			:NxButton ; 
		public var anewBtn			:NxButton ; 
		public var leftBtn			:NxButton ; 
		public var rightBtn		:NxButton ; 
		public var intoEffect		:MovieClip;
		public var backMc			:NxClip;
		public var fb_gate			:MovieClip ; 
		public var fb_frame		:NxViewGroup ; 
		public var titleimage		:NxClip ;
		
		private static var _self :EliteFBUI ;  
		public static function getInstance():EliteFBUI
		{
			if(_self==null)
			{
				_self = new EliteFBUI(); 	
			}
			return  _self ; 
		}
 
		
		public function EliteFBUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function  Init():void
		{
			EliteFBListLogic.getInstance();
		}
		override protected function	BeforeShow():void
		{
			EliteFBListLogic.getInstance().addListener()
//			EliteFBLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			EliteFBListLogic.getInstance().removeListener();
//			EliteFBLogic.getInstance().AfterHide();
		}
	}
}